home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 119
/
(Vol 119) Nov 09 2010.iso
/
TGKI-109
/
Games
/
vestidos_de_princesa.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
677b
|
38 lines
function decoexe()
{
var _loc2_ = this;
var _loc1_ = 1;
while(_loc1_ <= deconum)
{
if(_loc1_ < 10)
{
_loc1_ = "0" + _loc1_;
}
_loc2_["yojo_" + _loc1_].onPress = function()
{
btdown(this._name);
};
_loc2_["yojo_" + _loc1_].onRelease = function()
{
btup(this._name);
};
_loc1_ = _loc1_ + 1;
}
}
function btdown(name)
{
var _loc1_ = name;
startDrag(_loc1_,0);
swnum++;
this[_loc1_].swapDepths(swnum);
this[_loc1_].depth = swnum;
deconame = _loc1_;
}
function btup(name)
{
stopDrag();
}
deconum = 100;
stop();
decoexe();